﻿using FreeSql.DataAnnotations;
using System;

namespace MachineBanned
{
    public class BanInfo
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        public uint id { get; set; }
        public string steamid { get; set; }
        public string hwid { get; set; }
        public string ip { get; set; }
        public string display_name { get; set; }
        public string reason { get; set; }
        public DateTime create_time { get; set; }
        public int banned_time { get; set; }
    }

    public class HwidLog
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        public uint id { get; set; }
        public string ip { get; set; }
        public string hwid { get; set; }
        public string steamid { get; set; }
        public string display_name { get; set; }
        public DateTime create_time { get; set; }
        public DateTime update_time { get; set; }
    }
}
